package com.blrs.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 release_management
 *
 * @author ruoyi
 * @date 2024-01-25
 */
public class ReleaseManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creationName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 主题 */
    @Excel(name = "主题")
    private String policyThemes;

    /** 原文网址 */
    @Excel(name = "原文网址")
    private String website;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveTime;

    /** 附件 */
    @Excel(name = "附件")
    private String uploadFile;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 操作人id */
    @Excel(name = "操作人id")
    private Long operateId;

    /** 操作人姓名 */
    @Excel(name = "操作人姓名")
    private String operateName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long departmentId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    /** 组织机构id */
    @Excel(name = "组织机构id")
    private Long organizationId;

    /** 组织机构名称 */
    @Excel(name = "组织机构名称")
    private String organizationName;

    /** 归属于 */
    @Excel(name = "归属于")
    private Long belongTo;

    /** 主分类 */
    @Excel(name = "主分类")
    private String classificationId;

    /** 发布类型 */
    @Excel(name = "发布类型")
    private String sendType;

    /** 发送单位 */
    @Excel(name = "发送单位")
    private String sendUnit;

    /** 政策内容 */
    @Excel(name = "政策内容")
    private String content;
    private String url;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCreationName(String creationName)
    {
        this.creationName = creationName;
    }

    public String getCreationName()
    {
        return creationName;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setPolicyThemes(String policyThemes)
    {
        this.policyThemes = policyThemes;
    }

    public String getPolicyThemes()
    {
        return policyThemes;
    }
    public void setWebsite(String website)
    {
        this.website = website;
    }

    public String getWebsite()
    {
        return website;
    }
    public void setEffectiveTime(Date effectiveTime)
    {
        this.effectiveTime = effectiveTime;
    }

    public Date getEffectiveTime()
    {
        return effectiveTime;
    }
    public void setUploadFile(String uploadFile)
    {
        this.uploadFile = uploadFile;
    }

    public String getUploadFile()
    {
        return uploadFile;
    }
    public void setOperateTime(Date operateTime)
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime()
    {
        return operateTime;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setOperateId(Long operateId)
    {
        this.operateId = operateId;
    }

    public Long getOperateId()
    {
        return operateId;
    }
    public void setOperateName(String operateName)
    {
        this.operateName = operateName;
    }

    public String getOperateName()
    {
        return operateName;
    }
    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName)
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName()
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId)
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId()
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName)
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName()
    {
        return organizationName;
    }
    public void setBelongTo(Long belongTo)
    {
        this.belongTo = belongTo;
    }

    public Long getBelongTo()
    {
        return belongTo;
    }
    public void setClassificationId(String classificationId)
    {
        this.classificationId = classificationId;
    }

    public String getClassificationId()
    {
        return classificationId;
    }
    public void setSendType(String sendType)
    {
        this.sendType = sendType;
    }

    public String getSendType()
    {
        return sendType;
    }
    public void setSendUnit(String sendUnit)
    {
        this.sendUnit = sendUnit;
    }

    public String getSendUnit()
    {
        return sendUnit;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("creationName", getCreationName())
                .append("createId", getCreateId())
                .append("creationTime", getCreationTime())
                .append("policyThemes", getPolicyThemes())
                .append("website", getWebsite())
                .append("effectiveTime", getEffectiveTime())
                .append("uploadFile", getUploadFile())
                .append("operateTime", getOperateTime())
                .append("status", getStatus())
                .append("operateId", getOperateId())
                .append("operateName", getOperateName())
                .append("departmentId", getDepartmentId())
                .append("departmentName", getDepartmentName())
                .append("organizationId", getOrganizationId())
                .append("organizationName", getOrganizationName())
                .append("belongTo", getBelongTo())
                .append("classificationId", getClassificationId())
                .append("sendType", getSendType())
                .append("sendUnit", getSendUnit())
                .append("content", getContent())
                .toString();
    }
}
